package com.dog.basics.bean.dto.api.mtkj;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * <p>
 *
 * </p>
 *
 * @author wph
 * @since 2020-05-29
 */
@Data
public class ApiDepositAddDto {

    /**
     * 医院标识
     */
    @NotNull(message = "医院标识不能为空")
    @ApiModelProperty(value = "医院标识", dataType = "Long", required = true)
    private Long deviceHospitalId;

    /**
     * 设备类型 : 0-轮椅 1-平推车 2-陪护床
     */
    @NotNull(message = "设备类型不能为空")
    @ApiModelProperty(value = "设备类型 : 0-轮椅 1-平推车 2-陪护床", dataType = "Integer", required = true)
    @Min(value = 0, message = "设备类型只能是:(轮椅丶平推车丶陪护床)")
    @Max(value = 2, message = "设备类型只能是:(轮椅丶平推车丶陪护床)")
    private Integer wheeType;


}
